package org.jeecg.modules.yusuan.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.yusuan.entity.CaiwuXiangmu;
import org.jeecg.modules.yusuan.mapper.CaiwuXiangmuMapper;
import org.jeecg.modules.yusuan.service.ICaiwuXiangmuService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: caiwu_yusuan
 * @Author: jeecg-boot
 * @Date:   2020-06-15
 * @Version: V1.0
 */
@Service
public class CaiwuXiangmuServiceImpl extends ServiceImpl<CaiwuXiangmuMapper, CaiwuXiangmu> implements ICaiwuXiangmuService {

    @Override
    public List<CaiwuXiangmu> listData(String deptId,String deptCode, String pid,Integer effective,Integer version) {
        return this.baseMapper.listData(deptId,deptCode,pid,effective,version);
    }

    @Override
    public List<CaiwuXiangmu> zhibiaolistData(String deptId, String deptCode, String pid,Integer effective,Integer version) {
        return this.baseMapper.zhibiaolistData(deptId,deptCode,pid,effective,version);
    }

    @Override
    public Integer getMaxVersion(Integer effective, String deptId) {
        return this.baseMapper.getMaxVersion(effective,deptId);
    }
}
